// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:53:50


// Source File Name:   ho.java

package com.zelix;

import java.awt.event.*;
import java.util.EventObject;


//            q2, tb

class ho
    implements ActionListener, KeyListener
{

    private final q2 a;

    ho(q2 q2_1)
    {
        a = q2_1;
    }

    public void actionPerformed(ActionEvent actionevent)
    {
label0:
        {
            if(actionevent.getSource() == a.s)
            {
                a.t();
                a.s();
                if(!tb.b)
                    break label0;
            }
            a.r();
            a.q();
        }
    }

    public void keyPressed(KeyEvent keyevent)
    {
label0:
        {
            if(keyevent.getKeyCode() != 10)
                break label0;
            if(keyevent.getSource() == a.s)
            {
                a.t();
                a.s();
                if(!tb.b)
                    break label0;
            }
            a.r();
            a.q();
        }
    }

    public void keyReleased(KeyEvent keyevent)
    {
    }

    public void keyTyped(KeyEvent keyevent)
    {
    }
}